//
//  BQActivitesWebViewController.m
//  BeeQuick
//
//  Created by Asun on 2017/7/10.
//  Copyright © 2017年 BecomeRich. All rights reserved.
//

#import "BQActivitesWebViewController.h"

@interface BQActivitesWebViewController ()

@property (strong, nonatomic) UIWebView     *webView;

@end

@implementation BQActivitesWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}


- (void)setUrlStr:(NSString *)urlStr{
    
    _urlStr = urlStr;
    
    self.webView = [[UIWebView alloc]initWithFrame:self.view.bounds];
    
    self.webView.scrollView.bounces = NO;
    
    [self.view addSubview:self.webView];
    
    NSURL* url = [NSURL URLWithString:urlStr];
    
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    
    [self.webView loadRequest:request];
    
}

@end
